<?php
/**
 * 生成静态-重新生成资讯首页
 * @final
 */
class Staticizer_Apps_Tool_News_Index extends Staticizer
{
    public function Build($param=NULL)
    {
        #新闻模块-首页-第一块
        StaticizerFactory::Create('news.index_headline')->Build();                      //头条
        StaticizerFactory::Create('news.index_recommend')->Build();                     //推荐
        StaticizerFactory::Create('news.index_ranking')->Build();                       //热点排行
        StaticizerFactory::Create('news.index_advertisement')->Build(1);                //广告1

        #新闻模块-首页-第二块
        StaticizerFactory::Create('news.index_conjuncture')->Build();                   //船舶行情
        StaticizerFactory::Create('news.index_trends')->Build();                        //船厂动态
        StaticizerFactory::Create('news.index_ordersheet')->Build();                    //船厂订单
        StaticizerFactory::Create('news.index_analysis')->Build();                      //运行分析

        StaticizerFactory::Create('news.index_ancillary_message')->Build();             //船配资讯
        StaticizerFactory::Create('news.index_ancillary_company')->Build();             //船配企业
        StaticizerFactory::Create('news.index_ancillary_ordersheet')->Build();          //船配订单
        StaticizerFactory::Create('news.index_ancillary_steels')->Build();              //钢材行情
        StaticizerFactory::Create('news.index_advertisement')->Build(2);                //广告2

        StaticizerFactory::Create('news.index_interview')->Build();                     //访谈
        StaticizerFactory::Create('news.index_topic')->Build();                         //专题
        StaticizerFactory::Create('news.index_observe')->Build();                       //观察

        StaticizerFactory::Create('news.index_shipping_market')->Build();               //船运市场
        StaticizerFactory::Create('news.index_shipping_trends')->Build();               //船东动态

        StaticizerFactory::Create('news.index_maritimeworks_trends')->Build();          //海工动态
        StaticizerFactory::Create('news.index_maritimeworks_ordersheet')->Build();      //海工订单
        StaticizerFactory::Create('news.index_advertisement')->Build(3);                //广告3

        StaticizerFactory::Create('news.index_data_new')->Build();                      //数据-新造船市场
        StaticizerFactory::Create('news.index_data_second')->Build();                   //数据-二手船市场
        StaticizerFactory::Create('news.index_data_scrap')->Build();                    //数据-拆船市场
        StaticizerFactory::Create('news.index_data_shipping')->Build();                 //数据-船运市场
        StaticizerFactory::Create('news.index_data_steels')->Build();                   //数据-钢材市场
        StaticizerFactory::Create('news.index_data_rent')->Build();                     //数据-租船市场

        StaticizerFactory::Create('news.index_finacing_policy')->Build();               //融资-信贷政策
        StaticizerFactory::Create('news.index_finacing_cooperation')->Build();          //融资-银企合作
        StaticizerFactory::Create('news.index_finacing_trends')->Build();               //融资-融资动态
        StaticizerFactory::Create('news.index_finacing_ipo')->Build();                  //融资-融资上市

        StaticizerFactory::Create('news.index_law')->Build();                           //法规
        StaticizerFactory::Create('news.index_type')->Build();                          //船型
        StaticizerFactory::Create('news.index_standard')->Build();                      //标准
        StaticizerFactory::Create('news.index_technology')->Build();                    //技术
        StaticizerFactory::Create('news.index_ejournal')->Build();                      //电子期刊
        StaticizerFactory::Create('news.index_advertisement')->Build(4);                //广告4
    }
}
?>
